.PHONY:ALL
ALL:server CGI
server:main.cc
	g++ -o $@ $^ -std=c++11 -pthread #-DFOR_DEBUG
CGI:
	cd wwwroot/;\
	make;\
	cd -;

.PHONY:clean
clean:
	rm -f server
	cd wwwroot/;\
	make clean;\
	cd -;
